package com.zyw.zhuangdian.service;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.dto.PageDto;
import com.zyw.zhuangdian.pojo.in.FavouriteDtoIn;
import com.zyw.zhuangdian.pojo.out.FavouriteDtoOut;

import java.util.List;

public interface FavouriteService {
    Resp<Void> addFavourite(FavouriteDtoIn in);
    Resp<Void> updateFavourite(FavouriteDtoIn in);
    Resp<Void> deleteFavourite(FavouriteDtoIn in);
    Resp<List<? extends PageDto>> listFavourites(FavouriteDtoIn in);
}
